package com.yjd.user.entity;

/**
 * 用户
 * Created by yangchangyan@yijiedai.com on 2018-12-26 11:42.
 */
public class User {
  private long loginTime;
  private String username;
  private int gender;
  private String address;

  public long getLoginTime() {
    return loginTime;
  }

  public void setLoginTime(long loginTime) {
    this.loginTime = loginTime;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public int getGender() {
    return gender;
  }

  public void setGender(int gender) {
    this.gender = gender;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  @Override
  public String toString() {
    final StringBuffer sb = new StringBuffer("User{");
    sb.append("username='").append(username).append('\'');
    sb.append(", gender=").append(gender);
    sb.append(", address='").append(address).append('\'');
    sb.append('}');
    return sb.toString();
  }
}
